package br.com.klis.batendoumabola.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class SignInEvent extends GwtEvent<SignInEventHandler> {
  public static Type<SignInEventHandler> TYPE = new Type<SignInEventHandler>();
  
  /*private LoginInfo loginInfo;
  
  public SignInEvent(LoginInfo loginInfo) {
	    this.loginInfo = loginInfo;
  }
	  
  public LoginInfo getLoginInfo() { return loginInfo; }*/
  
  @Override
  public Type<SignInEventHandler> getAssociatedType() {
    return TYPE;
  }

  @Override
  protected void dispatch(SignInEventHandler handler) {
    handler.onSignIn(this);
  }
}
